@font-face {
  font-family: 'iconfont';
  src: url('iconfont.eot');
  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
      url('iconfont.woff2') format('woff2'),
      url('iconfont.woff') format('woff'),
      url('iconfont.ttf') format('truetype'),
      url('iconfont.svg#iconfont') format('svg');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 25px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-huifu {
    font-size: 20px;
}
.icon-xinaixin {
    font-size: 20px;
}
button,
input {
    border: none;
    outline: none;
}
html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    background: url(../img/shu.jpg) no-repeat center center;
}
.w {
    position: relative;
    overflow: hidden;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.search_index {
    position: relative;
    overflow: hidden;
    height: 30px;
    width: 150px;
    margin: 150px auto 50px;
    line-height: 28px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .8);
    transition: width .3s linear;
}
.holder {
    position: absolute;
    left: 50%;
    height: 30px;
    transform: translateX(-50%);
}
/* .search_index:hover {
    width: 500px;
    background: -webkit-linear-gradient(left,rgba(255, 255, 255,.7),rgba(255, 255, 255,.1));
} */
/* .search_index:hover .button2,
.search_index:hover .button {
    display: block;
} */
.button,
.button2 {
    position: absolute;
    top: 0;
    display: none;
    height: 30px;
    text-align: center;
    color: rgb(122, 116, 116);
    line-height: 30px;
    width: 80px;
    background: -webkit-linear-gradient(left,rgba(255, 255, 255,.5),transparent);
}
.button2 {
    left: 0;
}
.button {
    right: 0;
    background: -webkit-linear-gradient(right,rgba(255, 255, 255,.5),transparent);
}
.button:hover {
    background: rgba(255, 255, 255,.5);
}
.button2:hover {
    background: rgba(255, 255, 255,.9);
}
.search {
    width: 100%;
    height: 30px;
    color: rgb(94, 91, 91);
    text-align: center;
    background: rgba(255, 255, 255, .3);
}
.nav {
    display: flex;
    width: 800px;
    margin: 0 auto;
}
.nav a {
    flex: 1;
    display: block;
    margin: 0 20px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    color: rgb(255, 255, 255);
    border-radius: 15px;
    background: rgba(0, 0, 0, .3);
    text-align: center;
}
.toggle_bg {
    position: absolute;
    bottom: 20px;
    left:50%;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .9);
}
.icon-qiehuanbeijingtu {
    font-size: 16px;
    color: rgb(48, 47, 47);
}
.nav a i {
    display: none;
}
/* .nav .current {
    display: flex;
}
.nav .current span{
    font-size: 16px;
    flex:1;
}
.nav .current i {
    display: block;
    flex:1;
} */